package com.skzh.equipment.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.skzh.common.annotation.Excel;
import com.skzh.common.core.domain.BaseEntity;

/**
 * 喊话器设备信息对象 hailer_info
 *
 * @author skzh
 * @date 2025-03-21
 */
@Data
public class HailerInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 喊话器设备的唯一标识 */
    private Long hiId;

    /** 喊话器名称 */
    @Excel(name = "喊话器名称")
    private String hiName;

    /** 品牌（0: 大疆, 1: 成志, 2: 极志） */
    @Excel(name = "品牌", readConverterExp = "0=大疆,1=成志,2=极志")
    private Integer hiBrand;

    /** 对应型号id */
    @Excel(name = "型号")
    private Integer modelId;
    /** 喊话器型号 */
    @Excel(name = "型号")
    private String modelName;

    /** 绑定的无人机ID */
    @Excel(name = "绑定的无人机ID")
    private Long droneId;
    private String droneName;

    /** 是否支持灯光（Y: 是, N: 否） */
    @Excel(name = "是否支持灯光", readConverterExp = "Y=是,N=否")
    private String lightSupport;

    /**对应灯光id*/
    private Long lightId;

    /** 灯光主题 */
    private String LightTheme;

    /** 部门名称 */
    private String hiDeptName;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("hiId", getHiId())
                .append("hiName", getHiName())
                .append("hiBrand", getHiBrand())
                .append("modelId", getModelId())
                .append("droneId", getDroneId())
                .append("lightSupport", getLightSupport())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
